@import '~antd/lib/style/themes/default.less';
@import '../../../utils/utils.less';

.breakAll {
  word-break: break-all;
}
.customFilterDropdown {
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}
.customFilterDropdown input {
  width: 130px;
  margin-right: 8px;
}
.editable {
  background-color: #ffa39e;
}
.tableListForm {
  :global {
    .ant-form-item {
      margin-bottom: 24px;
      margin-right: 0;
      display: flex;
      > .ant-form-item-label {
        width: auto;
        line-height: 32px;
        padding-right: 8px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    white-space: nowrap;
    margin-bottom: 24px;
  }
  .expendButtons {
    float: right;
    margin-bottom: 24px;
  }
}
@media screen and (max-width: @screen-lg) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
  }
}

@media screen and (max-width: @screen-md) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 8px;
  }
}
.card {
  min-height: 680px;
}

.batchDescription {
  margin: 40px 0px 2px 1px;
  padding-left: 5px;
  border-radius: 8px;
  background: snow;
  .DescriptionTitle {
    color: red;
    font-size: 20px;
    margin-top: 10px;
    font-family: 黑体;
    font-weight: bold;
  }
  .everyItem {
    font-family: 楷书;
    font-size: 17px;
    margin: 9px 20px;
  }
}

.standardTable {
  margin-top: 12px;
  border: none;
  :global {
    .ant-table-pagination {
      margin-top: 24px;
      font-size: 14px;
    }
  }
  .custom-filter-dropdown {
    padding: 8px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  }

  .custom-filter-dropdown input {
    width: 130px;
    margin-right: 8px;
  }

  .highlight {
    color: #f50;
  }
  .tableAlert {
    margin-bottom: 16px;
  }

  .splitLine {
    background: @border-color-split;
    display: inline-block;
    margin: 0 8px;
    width: 1px;
    height: 12px;
  }

  .delete-row-operations {
    margin-left: 30px;
    background-color: red;
  }
}
// .my_table {
//   border: none;
//   :global {
//     .ant-table {
//       border: none;
//     }
//   }
// }
:global {
  .ant-modal-content {
    .ant-row {
      margin-right: 0 !important;
    }
    >.ant-modal-header {
      padding: 10px;
    }
    >.ant-modal-body {
      padding: 10px;
      max-height: 500px;
      overflow-y: auto;
    }
    >.ant-modal-close {
      height: 43px;
      width: 43px;
      >.ant-modal-close-x {
        height: 43px;
        width: 43px;
        line-height: 43px;
      }
    }
  }
  .my_bottomBtn {
    position: fixed;
    bottom: 0;
    padding: 10px 0 10px 10px;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    right: 30px;
    border-radius: 4px;
    > button {
      margin-right: 10px;
    }
  }
  .ant-popover-inner-content {
    padding: 10px !important;
    > button:first-child {
      margin-left: 0 !important;
    }
  }
  // .tableList {
  .my_newItem {
    margin-bottom: 16px;
    button, .filter-item {
      margin-right: 8px;
      &:last-child {
        margin-right: 0;
      }
    }
  }
  // }
  .ant-table-scroll {
    > .ant-table-body {
      overflow-x: auto !important;
    }
  }
  tr {
    td:last-child {
      > button:first-child {
        margin-left: 0 !important;
      }
    }
  }
}

.rule {
  :global {
    .ant-input-number-input[disabled] {
      background-color: #f5f5f5;
      opacity: 1;
      cursor: not-allowed;
      color: green;
    }
    .ant-time-picker-input[disabled] {
      background-color: #f5f5f5;
      opacity: 1;
      cursor: not-allowed;
      color: green;
    }
  }
}

.downloadErrorFile {
  color: #1890ff;
  margin-left: 10px;
  cursor: pointer;
}
